package com.huayi.website.service;

import com.huayi.website.entity.PhotoAttachmentEntity;
import com.huayi.website.entity.PhotoEntity;
import com.huayi.website.utils.PagingResponse;

import java.util.List;

public interface PhotoService {
    Integer editPhoto(PhotoEntity photo);
    PhotoEntity getPhotoById(Integer photoId);
    PagingResponse<PhotoEntity> getAllList(int pageIndex, int pageSize,Integer companyId);
    void deletePhoto(Integer photoId);
    List<PhotoAttachmentEntity> getPhotoAttachmentListById(Integer photoId);
}
